package com.jml.feign;


import com.jml.config.FeignLogConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;


@FeignClient(value = "jml-slueth-member"/*, configuration = FeignLogConfiguration.class*/)
public interface MemberServiceFeign{

    @RequestMapping("/getUser")
    String getUser(@RequestParam("userId")Integer userId);
}

